.mall-main {
  .fast-nav:after {
    clear: both;
  }

  .g-block {

    .g-mn:after,
    &:after {
      clear: both;
    }
  }
}

body {
  background: #f2f2f2;
}

.container {
  width: 1220px;
  position: relative;
}


.owl-carousel {
  display: none;
  position: relative;
  width: 100%;
  -ms-touch-action: pan-y;

  .owl-wrapper {
    &:after {
      content: ".";
      display: block;
      clear: both;
      visibility: hidden;
      line-height: 0;
      height: 0;
    }

    display: none;
    position: relative;
  }

  .owl-wrapper-outer {
    overflow: hidden;
    position: relative;
    width: 100%;

    &.autoHeight {
      -webkit-transition: height .5s ease-in-out;
      -moz-transition: height .5s ease-in-out;
      -ms-transition: height .5s ease-in-out;
      -o-transition: height .5s ease-in-out;
      transition: height 0.5s ease-in-out;
    }
  }

  .owl-item {
    float: left;
  }

  .owl-controls {

    .owl-buttons div,
    .owl-page {
      cursor: pointer;
    }

    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    margin-top: 10px;
    text-align: center;
  }

  .owl-item,
  .owl-wrapper {
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    -ms-backface-visibility: hidden;
    -webkit-transform: translate3d(0, 0, 0);
    -moz-transform: translate3d(0, 0, 0);
    -ms-transform: translate3d(0, 0, 0);
  }

  .owl-controls {
    .owl-page {
      display: inline-block;
      zoom: 1;

      span {
        display: block;
        width: 12px;
        height: 12px;
        margin: 5px 7px;
        -webkit-border-radius: 20px;
        -moz-border-radius: 20px;
        border-radius: 20px;
        background: #FFF;
      }

      &.active span {
        background: #7b858c;
      }
    }

    &.clickable .owl-page:hover span {
      background: #7b858c;
    }

    .owl-page span.owl-numbers {
      height: auto;
      width: auto;
      color: #FFF;
      padding: 2px 10px;
      font-size: 12px;
      -webkit-border-radius: 30px;
      -moz-border-radius: 30px;
      border-radius: 30px;
    }
  }
}




//轮播图

.banner {
  width: 1680px;
  height: 450px;
  position: relative;
}

.pic li {
  position: absolute;
  left: 0px;
  top: 0px;
  display: none;

  img {
    display: block;
    width:1680px;
    height:450px;
  }
}

.btn {
  ol {
    position: absolute;
    width: 135px;
    right: 10px;
    bottom: 10px;
    left:50%;
    bottom: 30px;
  }

  li {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: #888;
    text-indent: -999em;
    float: left;
    margin-right: 10px;
    cursor: pointer;
  }
}

#leftarrow,
#rightarrow {
  color: #fff;
  font-size: 60px;
  text-decoration: none;
  position: absolute;
  top: 50%;
  margin-top: -30px;
  display: none;
}

#leftarrow {
  left: 500px;
}

#rightarrow {
  right: 270px;
}

.btn li.active {
  background: #fff;
}
  

.f-ad-105001,
.f-ad-105002,
.f-ad-105003,
.f-ad-105004 {
  background-color: #fff;
  width: 232px;
}

.slider .owl-pagination {
  position: absolute;
  bottom: 20px;
}

.f-ad-105001,
.f-ad-105004 {
  height: 340px;
}

.f-ad-105002 {
  height: 615px;
}

.f-ad-105003 {
  height: 300px;
}

.f-ad-105005 {
  height: 140px;
  width: 100%;

  .slider {
    height: 140px;
    width: 100%;
    overflow: hidden;
  }
}

.f-ad-105001,
.f-ad-105002,
.f-ad-105003,
.f-ad-105004,
.f-ad-105005 {
  transition: all 0.2s linear;
}

.f-ad-105001:hover,
.f-ad-105002:hover,
.f-ad-105003:hover,
.f-ad-105004:hover,
.f-ad-105005:hover {
  z-index: 2;
  -webkit-box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
  -moz-box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
  -ms-box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
  -o-box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
  transform: translate3d(0, -2px, 0);
}

.f-ad-105001 img,
.f-ad-105002 img,
.f-ad-105003 img,
.f-ad-105004 img,
.f-ad-105005 img {
  width: 100%;
  height: 100%;
}

.mall-main {
  width: 1220px;
  margin: 0 auto 45px;

  .g-block {
    position: relative;
    margin-top: 20px;
    width: 1220px;

    &:after,
    &:before {
      content: " ";
      display: table;
    }
  }

  .g-block-title {
    width: 100%;
    margin-bottom: 14px;
    overflow: hidden;

    .text {
      font-size: 22px;
      color: #263746;
      float: left;
    }

    .more {
      height: 35px;
      line-height: 35px;
      float: right;

      a {
        display: inline-block;
        font-size: 16px;
        color: #263746;

        &:hover {
          color: #ee0a3b;
        }
      }
    }
  }

  .g-block {
    .g-mn {
      width: 100%;

      &:after,
      &:before {
        content: " ";
        display: table;
      }
    }

    .g-mn-1 {
      float: left;
      width: 232px;
    }

    .g-mn-4 {
      float: right;
      width: 988px;
    }
  }




  .fast-nav {
    margin-top: 20px;
    height: 174px;

    .col-1eft {
      float: left;
      background: url(#) center no-repeat #fff;
      width: 232px;
      padding: 17px 0;

      a {
        display: block;
        float: left;
        width: 75px;
        height: 58px;
        overflow: hidden;
        text-align: center;
        font-size: 12px;
        color: #757575;

        &:hover {
          -webkit-transition: color .2s;
          -moz-transition: color .2s;
          -o-transition: color .2s;
          -ms-transition: color .2s;
          transition: color .2s;
          color: #ee0a3b;
        }

        i {
          display: block;
          height: 40px;
          line-height: 40px;
          font-size: 31px;
        }

        &:nth-of-type(3n+2) {
          width: 82px;
        }

        &:nth-of-type(n+4) {
          margin-top: 24px;
        }
      }
    }

    .col-right {
      float: right;

      >a {
        display: block;
        float: left;
        background-color: #fff;
        width: 314px;
        height: 174px;

        &:hover {
          -webkit-box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
          -moz-box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
          -ms-box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
          -o-box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
          box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
        }

        img {
          width: 100%;
          height: 100%;
        }

        +a {
          margin-left: 15px;
        }
      }
    }

    &:after,
    &:before {
      content: " ";
      display: table;
    }
  }

  .f-activity ul.goods-list,
  .f-fond ul.goods-list,
  .f-hot ul.goods-list,
  .f-peijian ul.goods-list {
    width: 100%;
  }

  .f-activity ul.goods-list li,
  .f-fond ul.goods-list li,
  .f-hot ul.goods-list li,
  .f-peijian ul.goods-list li {
    display: block;
    float: left;
    margin-left: 15px;
    margin-bottom: 15px;
    width: 232px;
    height: 300px;
    background: #fff;
  }

  .f-activity ul.goods-list li .item a.image,
  .f-fond ul.goods-list li .item a.image,
  .f-hot ul.goods-list li .item a.image,
  .f-peijian ul.goods-list li .item a.image {
    width: 232px;
    display: block;
    text-align: center;
  }

  .f-activity ul.goods-list li .item a.image img,
  .f-fond ul.goods-list li .item a.image img,
  .f-hot ul.goods-list li .item a.image img,
  .f-peijian ul.goods-list li .item a.image img {
    width: 100%;
    height: 200px;
  }

  .f-activity ul.goods-list li .item {

    .desc,
    .price,
    .title {
      margin: 0 auto;
      display: block;
      text-align: center;
      height: 25px;
      line-height: 25px;
      overflow: hidden;
    }
  }

  .f-fond ul.goods-list li .item {

    .desc,
    .price,
    .title {
      margin: 0 auto;
      display: block;
      text-align: center;
      height: 25px;
      line-height: 25px;
      overflow: hidden;
    }
  }

  .f-hot ul.goods-list li .item {

    .desc,
    .price,
    .title {
      margin: 0 auto;
      display: block;
      text-align: center;
      height: 25px;
      line-height: 25px;
      overflow: hidden;
    }
  }

  .f-peijian ul.goods-list li .item {

    .desc,
    .price,
    .title {
      margin: 0 auto;
      display: block;
      text-align: center;
      height: 25px;
      line-height: 25px;
      overflow: hidden;
    }
  }

  .f-activity ul.goods-list li .item .title,
  .f-fond ul.goods-list li .item .title,
  .f-hot ul.goods-list li .item .title,
  .f-peijian ul.goods-list li .item .title {
    font-size: 16px;
    color: #263746;
  }

  .f-activity ul.goods-list li .item .desc,
  .f-fond ul.goods-list li .item .desc,
  .f-hot ul.goods-list li .item .desc,
  .f-peijian ul.goods-list li .item .desc {
    height: 20px;
    line-height: 20px;
    font-size: 14px;
    color: #828282;
  }

  .f-activity ul.goods-list li .item .price,
  .f-fond ul.goods-list li .item .price,
  .f-hot ul.goods-list li .item .price,
  .f-peijian ul.goods-list li .item .price {
    margin-top: 5px;
    color: #ee0a3b;
    font-size: 16px;
    height: 28px;
    line-height: 28px;
  }

  .f-activity ul.goods-list li .item .price i,
  .f-fond ul.goods-list li .item .price i,
  .f-hot ul.goods-list li .item .price i,
  .f-peijian ul.goods-list li .item .price i {
    font-size: 12px;
  }

  .f-activity ul.goods-list li,
  .f-fond ul.goods-list li {
    height: 340px;
  }

  .f-activity ul.goods-list li .item a.image,
  .f-fond ul.goods-list li .item a.image {
    margin-bottom: 25px;
  }

  .f-activity ul.goods-list li .item p.price {
    margin-top: 10px;
  }

  .f-fond ul.goods-list li {
    .item p.price {
      margin-top: 10px;
    }

    transition: all 0.2s linear;
  }

  .f-hot ul.goods-list li,
  .f-peijian ul.goods-list li {
    transition: all 0.2s linear;
  }

  .f-fond ul.goods-list li:hover,
  .f-hot ul.goods-list li:hover,
  .f-peijian ul.goods-list li:hover {
    z-index: 2;
    -webkit-box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
    -ms-box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
    -o-box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
    transform: translate3d(0, -2px, 0);
  }

  .f-activity {
    ul.goods-list {
      width: 973px;
      margin-left: 15px;

      li {
        margin-left: 0;
        margin-right: 15px;  
      }
      li:nth-of-type(4){
        margin-right:0;
      }

    }

    .owl-buttons {
      position: absolute;
      top: -47px;
      right: 0;
    }

    .owl-next,
    .owl-prev {
      padding: 5px;
      float: left;
      width: 25px;
      height: 15px;
      border: 1px solid #e0e0e0;
      background-color: #fff;
    }
  }
}

.head-ad,
.home-top-ad {
  width: 100%;
  overflow: hidden;
}

.mall-main {
  .f-activity .owl-next {
    margin-left: -1px;
  }

  .f-peijian .goods-list li .item a.title {
    margin-top: 30px;
  }

  .f-fond {
    display: none;

    ul.goods-list li {
      margin-left: 0;

      +li {
        margin-left: 15px;
      }
    }
  }
}

.head-ad {
  height: 0;
  background-repeat: no-repeat;
  background-position: top center;

  >a {
    display: block;
    height: 100%;
  }
}

.home-top-ad {
  position: relative;
  height: 80px;
  display: none;

  .ad-inner {
    position: absolute;
    width: 4000px;
    left: 50%;
    margin-left: -2000px;
    top: 0;
    text-align: center;
  }

  .container {
    position: relative;
    z-index: 9999;
  }

  .ad-close {
    position: absolute;
    top: 0;
    right: 0;
    width: 19px;
    height: 19px;
    font-size: 20px;
    background: rgba(0, 0, 0, 0.2) !important;
    filter: alpha(opacity=20);
    text-align: center;
    line-height: 19px;
    cursor: pointer;

    span {
      position: relative;
      display: block;
      color: #fff;
    }

    &:hover {
      background: rgba(0, 0, 0, 0.3) !important;
      filter: alpha(opacity=30);
    }
  }
}

.head-nav>li.all i {
  display: none;
}

.site-nav {
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  -ms-box-shadow: none;
  -o-box-shadow: none;
  box-shadow: none;

  .side-nav {
    display: block;
  }
}

.site-footer {
  border-top: none;
}